package com.cloud.report.api.entity;

import javax.persistence.*;

@Table(name = "query_filter")
public class QueryFilter {
    @Column(name = "filter_id")
    private Long filterId;

    @Column(name = "query_id")
    private Long queryId;

    @Column(name = "role_id")
    private Long roleId;

    @Column(name = "filter_sql")
    private String filterSql;

    /**
     * @return filter_id
     */
    public Long getFilterId() {
        return filterId;
    }

    /**
     * @param filterId
     */
    public void setFilterId(Long filterId) {
        this.filterId = filterId;
    }

    /**
     * @return query_id
     */
    public Long getQueryId() {
        return queryId;
    }

    /**
     * @param queryId
     */
    public void setQueryId(Long queryId) {
        this.queryId = queryId;
    }

    /**
     * @return role_id
     */
    public Long getRoleId() {
        return roleId;
    }

    /**
     * @param roleId
     */
    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    /**
     * @return filter_sql
     */
    public String getFilterSql() {
        return filterSql;
    }

    /**
     * @param filterSql
     */
    public void setFilterSql(String filterSql) {
        this.filterSql = filterSql;
    }
}